package com.thinkit.bigdata.core.util.thread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * The type Thread executor util.
 */
public class ThreadExecutorUtil {
    private static ExecutorService executor = Executors.newFixedThreadPool(20);

    /**
     * Execute task.
     *
     * @param task the task
     */
    public static void executeTask(Runnable task) {
        executor.execute(task);
    }
}
